//
//  ZToolsItem.m
//  WeClubs
//
//  Created by Zed Link on 11/4/2017.
//  Copyright © 2017 Zed. All rights reserved.
//

#import "ZToolsItem.h"
#import <Masonry.h>

@interface ZToolsItem ()

@property (weak, nonatomic) ZVerticalButton *button;

@end

@implementation ZToolsItem

- (void)zSetupCell
{
    [super zSetupCell];
    
    ZVerticalButton *button = [ZVerticalButton zVerticalButtonWithTitle:@"Title" fontSize:13 color:FONT_MAIN_COLOR image:@"Setting"];
    button.space = 12;
    button.userInteractionEnabled = NO;
    
    self.button = button;
    [self.contentView addSubview:button];
    [button mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.right.bottom.mas_equalTo(self.contentView);
    }];
}

@end
